package com.hsq.ndmall.product.dao;

import com.hsq.ndmall.product.entity.CategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 类目表
 *
 * @author kate-chan
 * @email ccsu_loader@163.com
 * @date 2021-08-11 00:33:11
 */
@Mapper
@Repository
public interface CategoryDao extends BaseMapper<CategoryEntity> {
    // 获取一级分类信息
    List<CategoryEntity> findTopCategory();
}
